<?php
declare(strict_types=1);

namespace ImiApp\ApiServer\Backend\Validate;

use Phpben\Imi\Validate\Validate;

class RunCommissionSetValidate extends Validate
{
    protected $rule = [
		'id' => 'require|integer',
		'id' => 'require',
		'set_id' => 'require',
		'run_id' => 'require',
		'direct1' => 'require',
		'indirect1' => 'require',
		'direct2' => 'require',
		'indirect2' => 'require',
    ];

    protected $message = [
    ];

    protected $scene = [
        'create' => ['id', 'set_id', 'run_id', 'direct1', 'indirect1', 'direct2', 'indirect2', ],
        'update' => ['id', 'id', 'set_id', 'run_id', 'direct1', 'indirect1', 'direct2', 'indirect2', ],
                
    ];
}
